package com.situ.day9;

public class Squar implements IShap {
	private double a;
	
	@Override
	public double area() {
		return a * a;
	}

	public Squar() {
		super();
	}

	public Squar(double a) {
		super();
		this.a = a;
	}

	public double getA() {
		return a;
	}

	public void setA(double a) {
		this.a = a;
	}

	@Override
	public String toString() {
		return "Squar [a=" + a + "]";
	}
	
	
}
